package com.hjc.business.ui;

import com.hjc.business.dao.impl.TaskDaoImpl;
import com.hjc.business.mdoel.PageBean;
import com.hjc.business.mdoel.Task;
import com.hjc.business.util.DBUtil;

import java.sql.PreparedStatement;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: HJC
 * Date: 2019/11/20
 * Time: 16:47
 * To change this template use File | Settings | File Templates.
 */
public class UtTest {
    private static TaskDaoImpl taskDao = new TaskDaoImpl();
    public static void main(String[] args) {
        //PreparedStatement pst = DBUtil.getPreparedStatement("");
        queryInfo();
    }
    private static void queryInfo(){
        List<Task> query = taskDao.find(null);
        System.out.println(query);
    }
}
